API ReferenceChats
Delete Chat
Deletes a chat and all its associated messages and blocks. The requester must have edit access to the chat.
DEL/v2/chats/{chatId}
Usage
TypeScript Example
import { v0 } from 'v0-sdk'const result = await v0.chats.delete({ chatId: 'chat_abc123',})console.log(result)API Signature
Request
Path Parameters
chatId: string
The unique identifier of the chat.
Response
chatId: string
The ID of the deleted chat.
success: 'true'